<%include header.ejs%>

    <body>
        <h1 align="center">注册页面</h1>
        <div class="wrap">
            <div>
                <span>姓名:</span>
                <input type="text" id="name">
            </div>

            <div>
                <span>密码:</span>
                <input type="text" id="password">
            </div>
            <div>
                <span>邮箱:</span>
                <input type="text" id="email">
            </div>

            <form target="picTarget" action="/upload" method="post" enctype="multipart/form-data">
                <input type="file" name="pic" id="picFile">
            </form>
            <img src="/img/jiapic.jpg" alt=""><br>
            <button id="regBtn">注册</button>
        </div>

        <iframe id="picTarget" name="picTarget" frameborder="1" style="display: none"></iframe>

        <script src="/js/ajax.js"></script>
        <script src="/js/register.js"></script>
    </body>

    </html>